home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
VRML 2.0 Sourcebook (2nd Edition)
/
VRML 2.0 Sourcebook CD [md5 fed90f4f9c39d5a60d477058775c7e21].iso
/
book
/
win
/
ch07
/
07fig11.wrl
< prev
next >
Wrap
Text File
|
1996-09-23
|
2KB
|
78 lines
#VRML V2.0 utf8
# The VRML 2.0 Sourcebook
# Copyright 1997 By
# Andrea L. Ames, David R. Nadeau, and John L. Moreland
Group {
children [
# Ground
Shape {
appearance DEF White Appearance {
material Material { }
}
geometry Box {
size 25.0 0.1 25.0
}
},
# First archway
DEF Archway Group {
children [
# Left Column
DEF LeftColumn Transform {
translation -2.0 3.0 0.0
children DEF Column Shape {
appearance USE White
geometry Cylinder {
radius 0.3
height 6.0
}
}
},
# Right Column
DEF RightColumn Transform {
translation 2.0 3.0 0.0
children USE Column
},
# Archway span
DEF ArchwaySpan Transform {
translation 0.0 6.05 0.0
children Shape {
appearance USE White
geometry Box {
size 4.6 0.4 0.6
}
}
},
# Left Roof
DEF LeftRoof Transform {
translation -1.15 7.12 0.0
rotation 0.0 0.0 1.0 0.524
children DEF Roof Shape {
appearance USE White
geometry Box {
size 2.86 0.4 0.6
}
}
},
# Right Roof
DEF RightRoof Transform {
translation 1.15 7.12 0.0
rotation 0.0 0.0 1.0 -0.524
children USE Roof
}
]
},
# Left small archway
Transform {
translation -4.0 0.0 0.0
scale 0.5 0.5 0.5
children USE Archway
},
# Right small archway
Transform {
translation 4.0 0.0 0.0
scale 0.5 0.5 0.5
children USE Archway
}
]
}